//
//  FlightAddressController.h
//  ELife
//
//  Created by xiaozhi on 11-7-17.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FlightAddressModel.h"

@interface FlightAddressController : UIViewController {
    @private
    FlightAddressModel *_addressModel;
    NSObject *_target;
    SEL _backAction;
}

@property (retain, nonatomic) IBOutlet UITextField *nameTextField;
@property (retain, nonatomic) IBOutlet UITextField *phoneTextField;
@property (retain, nonatomic) IBOutlet UITextField *addressTextField;
@property (retain, nonatomic) IBOutlet UITextField *pCodeTextField;


- (id)initWithAddressModel:(FlightAddressModel *) addressModel
                 withTarget:(NSObject *)target 
             withBackAction:(SEL)backAction;

- (IBAction)save;
- (IBAction)inputFinished;
@end
